//
//  SRAlbumService.h
//  StoryShow
//
//  Created by CyonLeuMBP on 2017/3/31.
//  Copyright © 2017年 qudiandu.cn. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SRAlbumService : NSObject


/*
 * 获取年级列表
 */
+ (void)queryGradeListSuccessBlock:(FZSuccessBlock)successBlock failBlock:(FZFailureBlock)failureBlock;

/*
 *  根据年级id获取教材
 */
+ (void)queryBooksWithGradeID:(NSString *)gradeID start:(NSInteger)start successBlock:(FZSuccessBlock)successBlock failBlock:(FZFailureBlock)failureBlock;
/*
 *  上报用户添加的书籍书本id,多个逗号隔开
 */
+ (void)addBooksWithBookIDs:(NSString *)bookIDs successBlock:(FZSuccessBlock)successBlock failBlock:(FZFailureBlock)failureBlock;

/*
 *  上报用户录音
 */
+ (void)addUserAudioRecordWithTrackID:(NSString *)trackID
                               bookID:(NSString *)bookID
                               pageID:(NSString *)pageID
                                score:(NSInteger)score
                        audioFileName:(NSString *)fileName
                         successBlock:(FZSuccessBlock)successBlock
                            failBlock:(FZFailureBlock)failureBlock;

/*
 *  上报用户录音单元作品
 */
+ (void)addUserAudioWorkWithCatalogueID:(NSString *)catalogueID
                                 bookID:(NSString *)bookID
                                  score:(NSInteger)score
                          audioFileName:(NSString *)fileName
                             audioTrack:(NSString *)trackTimes
                               group_id:(NSString *)group_id
                                task_id:(NSString *)task_id
                           successBlock:(FZSuccessBlock)successBlock
                              failBlock:(FZFailureBlock)failureBlock;


/*
 *  根据教材id获取单元列表
 */
+ (void)queryCatalogueWithBookID:(NSString *)bookID start:(NSInteger)start successBlock:(FZSuccessBlock)successBlock failBlock:(FZFailureBlock)failureBlock;



@end
